package com.cyzy.dao;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@ToString
@Data
public class CourseCampus {

  private long courseId;
  private String courseName;
  private String courseType;
  private long campusId;
  private long hours;
  private double price;
  private String courseDescription;
  private String fileId;
  private String courseStatus;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
  private java.sql.Date startTime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
  private java.sql.Date endTime;
  private long courseStock;
  private java.sql.Timestamp createTime;
  private java.sql.Timestamp updateTime;
  private String campusName;
  private String url;
  private long id;
  private List<Integer> courseIds;
  private long categoryId;
  private String categoryName;
}
